package us.gaaoc.framework.dao;

import java.util.List;
import us.gaaoc.framework.model.DocumentType; 

public interface DocumentTypeDAO extends GenericDAO<DocumentType, String>{
	
	 public abstract DocumentType findDocumentTypeByCode(String code);
	
	 public abstract DocumentType findByTypeDescription(String desc);

	/**
	 * This method returns list of documentTypes for given document category code
	 * @param docCategoryCode
	 * @return
	 */
	public abstract List<DocumentType> getDocumentTypeList(int docCategoryCode);
	 
	// public abstract void updateXslContent(String code, byte[]xslContent);
	 
	 //public abstract List<DocumentType> findDocumentTypesByAliasType();
	 
}
